package com.caocaog.market.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author liguang
 * @version 1.0.0
 * @Project jeecg-boot
 * @Package com.caocaog.market.entity
 * @ClassName a.java
 * @createTime 2022年04月30日 18:00:00
 * @Description 抖音小程序用户加密参数
 */
@Data
public class TiktokEncryptedParam {

    @NotEmpty(message = "code不能为空")
    @ApiModelProperty(value="login 接口返回的登录凭证",name="code")
    private String code;

    @ApiModelProperty(value="login 接口返回的匿名登录凭证",name="anonymousCode")
    private String anonymousCode;

    @NotEmpty(message = "加密数据不能为空")
    @ApiModelProperty(value="加密数据",name="encryptedData")
    private String encryptedData;

    @NotEmpty(message = "加密初始向量不能为空")
    @ApiModelProperty(value="加密初始向量",name="iv")
    private String iv;
}
